package com.wuchao.spring.aopPlus;

import com.wuchao.entity.User;

/**
 * @Author wuchao66
 * @Date 2022/7/4 9:58
 * @Version 1.0
 */
public class AopConstruor {//构造函数入参
    public  void show(){
        System.out.println(name+":"+id+":"+user.getName());
    }
    private  String name;
    private  int id;
    private  User user;
    public AopConstruor(){}
    public AopConstruor(int id, String name, User user){
        this.name=name;
        this.id=id;
        this.user=user;
    }
}
